100
|
It seems that the control uses the TAB key, is there any way to avoid that
with ComboBox1 do
begin
UseTabKey := False;
end
|
99
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects

with ComboBox1 do
begin
ColumnAutoResize := False;
rs := (IUnknown(ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset'))) as ADODB_TLB.Recordset);
with rs do
begin
Open('Orders','Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB',3,3,Null);
end;
DataSource := (IUnknown(rs) as ADODB_TLB.Recordset);
end
|
98
|
How do I change the visual appearance effect for the selected item, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
SelBackColor := $1000000;
SelForeColor := RGB(0,0,0);
ShowFocusRect := False;
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
97
|
How do I change the colors for the selected item

with ComboBox1 do
begin
SelBackColor := RGB(0,0,0);
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
96
|
How do I get ride of the rectangle arround focused item

with ComboBox1 do
begin
ShowFocusRect := False;
Columns.Add('Column');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
end
|
95
|
How can I change the control's font

with ComboBox1 do
begin
Font.Name := 'Tahoma';
Columns.Add('Column');
end
|
94
|
I can't scroll to the end of the data. What can I do

with ComboBox1 do
begin
ScrollBySingleLine := True;
DrawGridLines := EXCOMBOBOXLib_TLB.exRowLines;
Columns.Add('Column');
with Items do
begin
ItemHeight[AddItem(OleVariant(0))] := 13;
end;
PutItems(GetItems(OleVariant(0)),Null);
with Items do
begin
ItemHeight[AddItem(OleVariant(1))] := 26;
end;
PutItems(GetItems(OleVariant(0)),Null);
with Items do
begin
ItemHeight[AddItem(OleVariant(2))] := 36;
end;
PutItems(GetItems(OleVariant(0)),Null);
with Items do
begin
ItemHeight[AddItem(OleVariant(3))] := 48;
end;
PutItems(GetItems(OleVariant(0)),Null);
end
|
93
|
How do I specify the column where the tree lines / hierarchy are shown

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesAtRoot;
TreeColumnIndex := 1;
Columns.Add('Column 1');
Columns.Add('Column 2');
with Items do
begin
h := AddItem('Root 1.1');
CellCaption[OleVariant(h),OleVariant(1)] := 'Root 1.2';
CellCaption[OleVariant(InsertItem(h,Null,'Child 1.1')),OleVariant(1)] := 'Child 1.2';
CellCaption[OleVariant(InsertItem(h,Null,'Child 2.1')),OleVariant(1)] := 'Child 2.2';
ExpandItem[h] := True;
h := AddItem('Root 2.1');
CellCaption[OleVariant(h),OleVariant(1)] := 'Root 2.2';
CellCaption[OleVariant(InsertItem(h,Null,'Child 1.1')),OleVariant(1)] := 'Child 1.2';
end;
end
|
92
|
How do I specify the indentation of the child items relative to their parents

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesAtRoot;
Indent := 11;
Columns.Add('Column');
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child');
end;
end
|
91
|
How can I programmatically change the column where incremental searching is performed

with ComboBox1 do
begin
Columns.Add('Column 1');
Columns.Add('Column 2');
with Items do
begin
CellCaption[OleVariant(AddItem('Item 1')),OleVariant(1)] := 'SubItem 1';
end;
SearchColumnIndex := 1;
end
|
90
|
How do I disable the full-row selection in the control

with ComboBox1 do
begin
FullRowSelect := False;
Columns.Add('Column');
Items.AddItem('One');
Items.AddItem('Two');
end
|
89
|
Is there any option to specify the height of the items, before adding them

with ComboBox1 do
begin
DefaultItemHeight := 32;
Columns.Add('Column');
Items.AddItem('One');
Items.AddItem('Two');
end
|
88
|
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

with ComboBox1 do
begin
CountLockedColumns := 1;
BackColorLock := RGB(240,240,240);
ColumnAutoResize := False;
(IUnknown(Columns.Add('Locked')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 1')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 2')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 3')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
with Items do
begin
CellCaption[OleVariant(AddItem('locked')),OleVariant(1)] := 'unlocked';
end;
end
|
87
|
How do I change the control's background / foreground color on the locked area

with ComboBox1 do
begin
CountLockedColumns := 1;
ForeColorLock := RGB(240,240,240);
BackColorLock := RGB(128,128,128);
ColumnAutoResize := False;
(IUnknown(Columns.Add('Locked')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 1')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 2')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
(IUnknown(Columns.Add('Un-Locked 3')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
with Items do
begin
CellCaption[OleVariant(AddItem('locked')),OleVariant(1)] := 'unlocked';
end;
end
|
86
|
How do I change the control's foreground color

with ComboBox1 do
begin
ForeColor := RGB(120,120,120);
Columns.Add('Column');
Items.AddItem('item');
end
|
85
|
How do I change the control's background color

with ComboBox1 do
begin
BackColor := RGB(200,200,200);
end
|
84
|
How do I use my own icons for my radio buttons

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
RadioImage[False] := 1;
RadioImage[True] := 2;
(IUnknown(Columns.Add('Radio')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellHasRadioButton] := OleVariant(True);
with Items do
begin
AddItem('Radio 1');
CellState[OleVariant(AddItem('Radio 2')),OleVariant(0)] := 1;
AddItem('Radio 3');
end;
end
|
83
|
How do I use my own icons for checkbox cells

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
CheckImage[EXCOMBOBOXLib_TLB.Unchecked] := 1;
CheckImage[EXCOMBOBOXLib_TLB.Checked] := 2;
(IUnknown(Columns.Add('Check')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellHasCheckBox] := OleVariant(True);
with Items do
begin
AddItem('Check 1');
CellState[OleVariant(AddItem('Check 2')),OleVariant(0)] := 1;
end;
end
|
82
|
How do I perform my own sorting when user clicks the column's header

with ComboBox1 do
begin
SortOnClick := EXCOMBOBOXLib_TLB.exUserSort;
Columns.Add('Column');
Items.AddItem('Item 1');
Items.AddItem('Item 2');
end
|
81
|
How do I disable sorting a specified column when clicking its header

with ComboBox1 do
begin
Columns.Add('1');
(IUnknown(Columns.Add('NoSort')) as EXCOMBOBOXLib_TLB.Column).AllowSort := False;
end
|
80
|
How do I disable sorting the columns when clicking the control's header

with ComboBox1 do
begin
SortOnClick := EXCOMBOBOXLib_TLB.exNoSort;
Columns.Add('1');
Columns.Add('2');
end
|
79
|
How do I sort descending a column, and put the sorting icon in the column's header

with ComboBox1 do
begin
Columns.Add('Column');
with Items do
begin
AddItem('Item 1');
AddItem('Item 2');
AddItem('Item 3');
end;
Columns.Item[OleVariant(0)].SortOrder := EXCOMBOBOXLib_TLB.SortDescending;
end
|
78
|
How do I sort ascending a column, and put the sorting icon in the column's header

with ComboBox1 do
begin
Columns.Add('Column');
with Items do
begin
AddItem('Item 3');
AddItem('Item 1');
AddItem('Item 2');
end;
Columns.Item[OleVariant(0)].SortOrder := EXCOMBOBOXLib_TLB.SortAscending;
end
|
77
|
How do I perform my own/custom sort, using my extra strings

with ComboBox1 do
begin
(IUnknown(Columns.Add('desc')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortUserData;
with Items do
begin
CellData[OleVariant(AddItem('A')),OleVariant(0)] := 'C';
CellData[OleVariant(AddItem('B')),OleVariant(0)] := 'B';
CellData[OleVariant(AddItem('C')),OleVariant(0)] := 'A';
SortChildren(0,OleVariant(0),False);
end;
end
|
76
|
How do I perform my own/custom sort, using my extra numbers

with ComboBox1 do
begin
(IUnknown(Columns.Add('desc')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortUserData;
with Items do
begin
CellData[OleVariant(AddItem(OleVariant(0))),OleVariant(0)] := OleVariant(2);
CellData[OleVariant(AddItem(OleVariant(1))),OleVariant(0)] := OleVariant(1);
CellData[OleVariant(AddItem(OleVariant(2))),OleVariant(0)] := OleVariant(0);
SortChildren(0,OleVariant(0),False);
end;
end
|
75
|
By default, the column gets sorted as strings, so how do I sort a column by time only

with ComboBox1 do
begin
(IUnknown(Columns.Add('desc')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortTime;
with Items do
begin
AddItem('11:00');
AddItem('10:10');
AddItem('12:12');
SortChildren(0,OleVariant(0),False);
end;
end
|
74
|
By default, the column gets sorted as strings, so how do I sort a column by date and time

with ComboBox1 do
begin
(IUnknown(Columns.Add('desc')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortDateTime;
with Items do
begin
AddItem('1/1/2001 11:00');
AddItem('1/1/2001 10:10');
AddItem('1/3/2003');
SortChildren(0,OleVariant(0),False);
end;
end
|
73
|
By default, the column gets sorted as strings, so how do I sort a column by dates

with ComboBox1 do
begin
(IUnknown(Columns.Add('desc')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortDate;
with Items do
begin
AddItem('1/1/2001');
AddItem('1/2/2002');
AddItem('1/3/2003');
SortChildren(0,OleVariant(0),False);
end;
end
|
72
|
How do I sort a column by numbers

with ComboBox1 do
begin
(IUnknown(Columns.Add('desc')) as EXCOMBOBOXLib_TLB.Column).SortType := EXCOMBOBOXLib_TLB.SortNumeric;
with Items do
begin
AddItem(OleVariant(1));
AddItem(OleVariant(5));
AddItem(OleVariant(10));
SortChildren(0,OleVariant(0),False);
end;
end
|
71
|
How do I hide the control's header bar

with ComboBox1 do
begin
HeaderVisible := False;
end
|
70
|
How do change the visual appearance for the control's header bar, using EBN

with ComboBox1 do
begin
VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
HeaderBackColor := $1000000;
end
|
69
|
How do I remove the control's border

with ComboBox1 do
begin
Appearance := EXCOMBOBOXLib_TLB.None2;
end
|
68
|
I have a hierarchy and I need to filter only root items that match, with thier childs

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
FilterInclude := EXCOMBOBOXLib_TLB.exRootsWithChilds;
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exFilter;
Filter := 'R1';
end;
with Items do
begin
h := AddItem('R1');
InsertItem(h,Null,'C1');
InsertItem(h,Null,'C2');
ExpandItem[h] := True;
h := AddItem('R2');
InsertItem(h,Null,'C1');
InsertItem(h,Null,'C2');
end;
ApplyFilter();
end
|
67
|
I have a hierarchy and I need to filter only root items that match, without thier childs

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
FilterInclude := EXCOMBOBOXLib_TLB.exRootsWithoutChilds;
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exFilter;
Filter := 'R1';
end;
with Items do
begin
h := AddItem('R1');
InsertItem(h,Null,'C1');
InsertItem(h,Null,'C2');
ExpandItem[h] := True;
h := AddItem('R2');
InsertItem(h,Null,'C1');
InsertItem(h,Null,'C2');
end;
ApplyFilter();
end
|
66
|
I have a hierarchy and I need to filter only parent items that match, including thier childs

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
FilterInclude := EXCOMBOBOXLib_TLB.exItemsWithChilds;
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exFilter;
Filter := 'R1';
end;
with Items do
begin
h := AddItem('R1');
InsertItem(h,Null,'C1');
InsertItem(h,Null,'C2');
ExpandItem[h] := True;
h := AddItem('R2');
InsertItem(h,Null,'C1');
InsertItem(h,Null,'C2');
end;
ApplyFilter();
end
|
65
|
How can I get ride/hide of the "Filter For" field

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterPattern := False;
end;
end
|
64
|
Is there any way to get listed only visible items in the drop down filter window

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
Description[EXCOMBOBOXLib_TLB.exFilterBarAll] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarBlanks] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarNonBlanks] := '';
with (IUnknown(Columns.Add('P1')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterPattern := False;
FilterList := EXCOMBOBOXLib_TLB.exVisibleItems;
end;
with (IUnknown(Columns.Add('P2')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterPattern := False;
end;
with Items do
begin
h := AddItem('R1');
CellCaption[OleVariant(h),OleVariant(1)] := 'R2';
CellCaption[OleVariant(InsertItem(h,Null,'Cell 1.1')),OleVariant(1)] := 'Cell 1.2';
CellCaption[OleVariant(InsertItem(h,Null,'Cell 2.1')),OleVariant(1)] := 'Cell 2.2';
end;
end
|
63
|
How do I filter for items that match exactly the specified string

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exFilter;
Filter := 'Item 1';
end;
Items.AddItem('Item 1');
Items.AddItem('Item 2');
Items.AddItem('Item 3');
ApplyFilter();
end
|
62
|
How can I can I programmatically filter for items with a specified icon assigned

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exImage;
Filter := 1;
end;
with Items do
begin
CellImage[OleVariant(AddItem('Image 1')),OleVariant(0)] := 1;
CellImage[OleVariant(AddItem('Image 1')),OleVariant(0)] := 1;
CellImage[OleVariant(AddItem('Image 2')),OleVariant(0)] := 2;
CellImage[OleVariant(AddItem('Image 3')),OleVariant(0)] := 3;
end;
ApplyFilter();
end
|
61
|
How can I can I programmatically filter the checked items

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
Def[EXCOMBOBOXLib_TLB.exCellHasCheckBox] := OleVariant(True);
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exCheck;
Filter := 0;
end;
Items.AddItem(OleVariant(0));
with Items do
begin
CellState[OleVariant(AddItem(OleVariant(1))),OleVariant(0)] := 1;
end;
Items.AddItem(OleVariant(2));
ApplyFilter();
end
|
60
|
How can I can I filter programmatically the items based on some numerichal rules

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exNumeric;
Filter := '> 0 <= 1';
end;
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
ApplyFilter();
end
|
59
|
How can I can I filter programmatically the items based on a range/interval of dates

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterDate := True;
FilterType := EXCOMBOBOXLib_TLB.exDate;
Filter := '1/1/2001 to 1/1/2002';
end;
Items.AddItem('1/1/2001');
Items.AddItem('2/1/2002');
ApplyFilter();
end
|
58
|
How can I can I filter programmatically given a specified pattern using wild characters like * or

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exPattern;
Filter := '0*';
end;
Items.AddItem(OleVariant(0));
Items.AddItem('00');
Items.AddItem(OleVariant(1));
Items.AddItem('11');
ApplyFilter();
end
|
57
|
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
ApplyFilter();
end
|
56
|
How can I display the column's filter

with ComboBox1 do
begin
(IUnknown(Columns.Add('')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
end
|
55
|
How can I show the control's grid lines only for added/visible items

with ComboBox1 do
begin
MarkSearchColumn := False;
DrawGridLines := EXCOMBOBOXLib_TLB.exRowLines;
Columns.Add('Column 1');
Columns.Add('Column 2');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
end
|
54
|
Can I hide the hierarchy lines

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesAtRoot;
HasLines := EXCOMBOBOXLib_TLB.exNoLine;
Columns.Add('Column');
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child');
end;
end
|
53
|
Can I change the style or type for the hierarchy lines

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesAtRoot;
HasLines := EXCOMBOBOXLib_TLB.exThinLine;
Columns.Add('Column');
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child');
end;
end
|
52
|
Can I use my own icons for the +/- ( expand/collapse ) buttons

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesAtRoot;
HasButtons := EXCOMBOBOXLib_TLB.exCustom;
HasButtonsCustom[False] := 1;
HasButtonsCustom[True] := 2;
Columns.Add('Column');
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child');
end;
end
|
51
|
How do I change visual appearance of the +/- ( expand/collapse ) buttons

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exGroupLinesAtRoot;
HasButtons := EXCOMBOBOXLib_TLB.exWPlus;
Columns.Add('Column');
with Items do
begin
h := AddItem('Root 1');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
h := AddItem('Root 2');
InsertItem(h,Null,'Child');
end;
end
|
50
|
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exCheck;
Filter := 0;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarIsChecked] := 'Check_On';
Description[EXCOMBOBOXLib_TLB.exFilterBarIsUnchecked] := 'Check_Off';
ApplyFilter();
end
|
49
|
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exCheck;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarChecked] := 'with check on';
Description[EXCOMBOBOXLib_TLB.exFilterBarUnchecked] := 'with check off';
end
|
48
|
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterDate := True;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarDateWeekDays] := 'Du Lu Ma Mi Jo Vi Si';
ApplyFilter();
end
|
47
|
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterDate := True;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarDateMonths] := 'Janvier F vrier Mars Avril Mai Juin Juillet Ao t Septembre Octobre Novembre D cembre';
ApplyFilter();
end
|
46
|
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterDate := True;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarDateTodayCaption] := 'Azi';
ApplyFilter();
end
|
45
|
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterDate := True;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarDateTo] := '->';
ApplyFilter();
end
|
44
|
How can I filter the items that are between an interval/range of dates

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterDate := True;
end;
ApplyFilter();
end
|
43
|
Can I change the "Date:" caption when the column's drop down filter window is shown

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
DisplayFilterDate := True;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarDate] := 'Range';
ApplyFilter();
end
|
42
|
Can I filter for values using OR - NOT , instead AND operator

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
with (IUnknown(Columns.Add('Column 2')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
with (IUnknown(Columns.Add('Column 3')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
FilterCriteria := '%0 or not %1 and %2';
ApplyFilter();
end
|
41
|
Can I change the NOT string in the filter bar

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
with (IUnknown(Columns.Add('Column 2')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exNonBlanks;
end;
FilterCriteria := 'not %0 or %1';
Description[EXCOMBOBOXLib_TLB.exFilterBarNot] := ' ! ';
Description[EXCOMBOBOXLib_TLB.exFilterBarIsNonBlank] := ' ! IsBlank';
ApplyFilter();
end
|
40
|
How do I ensure that the focused item is visible, after the user does the sort

with ComboBox1 do
begin
EnsureOnSort := True;
Columns.Add('Column');
with Items do
begin
AddItem('Item 3');
AddItem('Item 1');
AddItem('Item 2');
end;
PutItems(GetItems(OleVariant(0)),Null);
PutItems(GetItems(OleVariant(0)),Null);
PutItems(GetItems(OleVariant(0)),Null);
Columns.Item[OleVariant(0)].SortOrder := EXCOMBOBOXLib_TLB.SortAscending;
end
|
39
|
Can I change the OR string in the filter bar

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
with (IUnknown(Columns.Add('Column 2')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exNonBlanks;
end;
FilterCriteria := '%0 or %1';
Description[EXCOMBOBOXLib_TLB.exFilterBarOr] := ' | ';
ApplyFilter();
end
|
38
|
Can I change the AND string in the filter bar

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
with (IUnknown(Columns.Add('Column 2')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exNonBlanks;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarAnd] := ' & ';
ApplyFilter();
end
|
37
|
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

with ComboBox1 do
begin
with (IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column) do
begin
DisplayFilterButton := True;
FilterType := EXCOMBOBOXLib_TLB.exBlanks;
end;
Description[EXCOMBOBOXLib_TLB.exFilterBarIsBlank] := 'Is Empty';
Description[EXCOMBOBOXLib_TLB.exFilterBarIsNonBlank] := 'Is Not Empty';
ApplyFilter();
end
|
36
|
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
Description[EXCOMBOBOXLib_TLB.exFilterBarFilterTitle] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarPatternFilterTitle] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarTooltip] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarPatternTooltip] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarFilterForTooltip] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarDateTooltip] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarDateTitle] := '';
end
|
35
|
How can I change the "Filter For" caption in the column's drop down filter window

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
Description[EXCOMBOBOXLib_TLB.exFilterBarFilterForCaption] := 'new caption';
end
|
34
|
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
Description[EXCOMBOBOXLib_TLB.exFilterBarAll] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarBlanks] := '';
Description[EXCOMBOBOXLib_TLB.exFilterBarNonBlanks] := '';
end
|
33
|
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column')) as EXCOMBOBOXLib_TLB.Column).DisplayFilterButton := True;
Description[EXCOMBOBOXLib_TLB.exFilterBarAll] := 'new name for (All)';
end
|
32
|
How can I change the position of the column

with ComboBox1 do
begin
Columns.Add('Column 1');
(IUnknown(Columns.Add('Column 2')) as EXCOMBOBOXLib_TLB.Column).Position := 0;
end
|
31
|
Can I make strikeout the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HeaderStrikeOut := True;
end
|
30
|
How can I apply an strikeout font only a portion of the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<s>Col</s>umn 1';
end
|
29
|
How can I get underlined only a portion of column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<u>Col</u>umn 1';
end
|
28
|
How can I underline the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HeaderUnderline := True;
end
|
27
|
How can I apply an italic font only a portion of the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<i>Col</i>umn 1';
end
|
26
|
Is there any option to make italic the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HeaderItalic := True;
end
|
25
|
How can I bold only a portion of the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<b>Col</b>umn 1';
end
|
24
|
Is there any option to bold the column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HeaderBold := True;
end
|
23
|
Why child items are not shown

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
Columns.Add('Column 1');
with Items do
begin
h := AddItem('Root');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
end;
end
|
22
|
Does your control support partial-check ( three states ) feature for each column

with ComboBox1 do
begin
LinesAtRoot := EXCOMBOBOXLib_TLB.exLinesAtRoot;
with (IUnknown(Columns.Add('P1')) as EXCOMBOBOXLib_TLB.Column) do
begin
Def[EXCOMBOBOXLib_TLB.exCellHasCheckBox] := OleVariant(True);
PartialCheck := True;
end;
with (IUnknown(Columns.Add('P2')) as EXCOMBOBOXLib_TLB.Column) do
begin
Def[EXCOMBOBOXLib_TLB.exCellHasCheckBox] := OleVariant(True);
PartialCheck := True;
end;
with Items do
begin
h := AddItem('Root');
InsertItem(h,Null,'Child 1');
InsertItem(h,Null,'Child 2');
ExpandItem[h] := True;
end;
end
|
21
|
Can I change the font to display the column's header

with ComboBox1 do
begin
HeaderHeight := 34;
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<font Tahoma;14>Column</font> 1';
end
|
20
|
Can I change the height of the header bar

with ComboBox1 do
begin
HeaderHeight := 32;
end
|
19
|
Can I display multiple icons to the column's header

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '1<img>1</img> 2 <img>2</img>...';
end
|
18
|
How can I draw grid lines only for visible items

with ComboBox1 do
begin
MarkSearchColumn := False;
DrawGridLines := EXCOMBOBOXLib_TLB.exRowLines;
Columns.Add('Column 1');
Columns.Add('Column 2');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
end
|
17
|
How can I show the control's grid lines

with ComboBox1 do
begin
MarkSearchColumn := False;
DrawGridLines := EXCOMBOBOXLib_TLB.exAllLines;
Columns.Add('Column 1');
Columns.Add('Column 2');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
end
|
16
|
How can I assign a different background color for the entire column

with ComboBox1 do
begin
MarkSearchColumn := False;
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellBackColor] := OleVariant(255);
Columns.Add('Column 2');
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
end
|
15
|
How can I assign a check box for a cell

with ComboBox1 do
begin
Columns.Add('Column 1');
with Items do
begin
AddItem(OleVariant(0));
CellHasCheckBox[OleVariant(AddItem(OleVariant(1))),OleVariant(0)] := True;
AddItem(OleVariant(2));
end;
end
|
14
|
How can I assign checkboxes for the entire column

with ComboBox1 do
begin
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).Def[EXCOMBOBOXLib_TLB.exCellHasCheckBox] := OleVariant(True);
Items.AddItem(OleVariant(0));
Items.AddItem(OleVariant(1));
Items.AddItem(OleVariant(2));
end
|
13
|
How can I change the column's width

with ComboBox1 do
begin
ColumnAutoResize := False;
(IUnknown(Columns.Add('Column 1')) as EXCOMBOBOXLib_TLB.Column).Width := 64;
(IUnknown(Columns.Add('Column 2')) as EXCOMBOBOXLib_TLB.Column).Width := 128;
end
|
12
|
How can I show or hide a column

with ComboBox1 do
begin
(IUnknown(Columns.Add('Hidden')) as EXCOMBOBOXLib_TLB.Column).Visible := False;
end
|
11
|
How can I hide the searching column

with ComboBox1 do
begin
MarkSearchColumn := False;
Columns.Add('Column 1');
Columns.Add('Column 2');
Items.AddItem(Null);
end
|
10
|
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar

with ComboBox1 do
begin
(IUnknown(Columns.Add('Unsortable')) as EXCOMBOBOXLib_TLB.Column).AllowSort := False;
Columns.Add('Sortable');
end
|
9
|
Is there any option to align the header to the left and the data to the right

with ComboBox1 do
begin
(IUnknown(Columns.Add('Left')) as EXCOMBOBOXLib_TLB.Column).Alignment := EXCOMBOBOXLib_TLB.LeftAlignment;
with (IUnknown(Columns.Add('Right')) as EXCOMBOBOXLib_TLB.Column) do
begin
Alignment := EXCOMBOBOXLib_TLB.RightAlignment;
HeaderAlignment := EXCOMBOBOXLib_TLB.RightAlignment;
end;
with Items do
begin
CellCaption[OleVariant(AddItem('left')),OleVariant(1)] := 'right';
end;
end
|
8
|
Can I displays a custom size picture to column's header

with ComboBox1 do
begin
HTMLPicture['pic1'] := 'c:\exontrol\images\zipdisk.gif';
HeaderHeight := 48;
(IUnknown(Columns.Add('ColumnName')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<b>HTML</b> Column <img>pic1</img> Picture';
end
|
7
|
How can I insert an icon to column's header

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
(IUnknown(Columns.Add('ColumnName')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<b>HTML</b> Column <img>1</img> Icon';
end
|
6
|
How can I insert an icon to column's header

with ComboBox1 do
begin
Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' +
'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' +
'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' +
'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
(IUnknown(Columns.Add('ColumnName')) as EXCOMBOBOXLib_TLB.Column).HeaderImage := 1;
end
|
5
|
How can I use HTML format in column's header

with ComboBox1 do
begin
(IUnknown(Columns.Add('ColumnName')) as EXCOMBOBOXLib_TLB.Column).HTMLCaption := '<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn';
end
|
4
|
How can I change/rename the column's name

with ComboBox1 do
begin
(IUnknown(Columns.Add('ColumnName')) as EXCOMBOBOXLib_TLB.Column).Caption := 'NewName';
end
|
3
|
How can I add multiple columns

with ComboBox1 do
begin
with Columns do
begin
Add('Column 1');
Add('Column 2');
end;
end
|
2
|
I've added a single column, but it is displayed only on a part of the control. Is there something I can do so the column will be fully displayed on the control

with ComboBox1 do
begin
Columns.Add('ColumnName');
Items.AddItem('Item 1');
Items.AddItem('Item 2');
end
|
1
|
How can I add a new column

with ComboBox1 do
begin
Columns.Add('ColumnName');
end
|